package com.atguigu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain = true)
public class File {
    // 用户文件： id，旧文件名，新文件名，文件后缀名，大小，路径，类型，是否为图片，上传时间，下载次数
    private Integer id;
    private String oldFileName;
    private String newFileName;
    private String extend;
    private String path;
    private Integer size;
    private String type;
    private Integer isImg;
    private Integer downloadCount;
    private Date uploadTime;
    private Integer userId;
}
